// 退宿
import request from '@/router/axios'

//展示表格
export function StudentCheck(query) {
    return request({
        url: '/campus/access_records/StudentsCheckPage',
        method: 'get',
        params: query
    })
}

// 展示请假详情
export function StudentLeave(id) {
    return request({
        url: '/campus/leave/' + id,
        method: 'get',
    })
}

//年级展示表格
export function gradeObj(query) {
    return request({
        url: '/campus/sysdept/detpTree/1/2',
        method: 'get',
        params: query
    })
}
